﻿using Engine.Media;
using System.IO;
namespace Game.IContentReader
{
    public class StreamingSourceReader:IContentReader
    {
        public override string Type => "Engine.Media.StreamingSource";
        public override string[] DefaultSuffix => new string[] { "wav","ogg" };
        public override object Get(ContentInfo[] contents)
        {
            return SoundData.Stream(contents[0].Duplicate());
        }
    }
}
